package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 文章查询对象 article
 * 
 * @author ruoyi
 * @date 2024-03-14
 */
public class Article extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 文章id */
    private Integer articleId;

    /** 标题 */
    @Excel(name = "标题")
    private String title;

    /** 点赞数 */
    @Excel(name = "点赞数")
    private Integer likeCount;

    /** 类型 */
    @Excel(name = "类型")
    private String dictType;

    /** 文章介绍 */
    @Excel(name = "文章介绍")
    private String introduce;

    /** 资源链接 */
    @Excel(name = "资源链接")
    private String url;

    /** 文章内容 */
    @Excel(name = "文章内容")
    private String content;

    /** 点击量 */
    private Integer clicknum;
    
    /** 封面图片 */
    private String imgurl;
    
    public void setImgurl(String imgurl) 
    {
        this.imgurl = imgurl;
    }

    public String getImgurl() 
    {
        return imgurl;
    }
    
    
    public void setArticleId(Integer articleId) 
    {
        this.articleId = articleId;
    }

    public Integer getArticleId() 
    {
        return articleId;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setLikeCount(Integer likeCount) 
    {
        this.likeCount = likeCount;
    }

    public Integer getLikeCount() 
    {
        return likeCount;
    }
    public void setDictType(String dictType) 
    {
        this.dictType = dictType;
    }

    public String getDictType() 
    {
        return dictType;
    }
    public void setIntroduce(String introduce) 
    {
        this.introduce = introduce;
    }

    public String getIntroduce() 
    {
        return introduce;
    }
    public void setUrl(String url) 
    {
        this.url = url;
    }

    public String getUrl() 
    {
        return url;
    }
    public void setContent(String content) 
    {
        this.content = content;
    }

    public String getContent() 
    {
        return content;
    }
    public void setClicknum(Integer clicknum) 
    {
        this.clicknum = clicknum;
    }

    public Integer getClicknum() 
    {
        return clicknum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("articleId", getArticleId())
            .append("title", getTitle())
            .append("createTime", getCreateTime())
            .append("createBy", getCreateBy())
            .append("likeCount", getLikeCount())
            .append("dictType", getDictType())
            .append("introduce", getIntroduce())
            .append("url", getUrl())
            .append("content", getContent())
            .append("clicknum", getClicknum())
            .toString();
    }
}
